package com.dzl.order.dao;

import com.dzl.order.pojo.WelfareOrderExpress;
import com.dzl.order.pojo.vo.WelfareOrderExpressVo;
import org.springframework.stereotype.Repository;
import com.dzl.base.mapper.BaseMapper;

import java.util.List;

/**
 * 品牌信息表(WelfareOrderExpress)表数据库访问层
 * @author caobucao
 * @date 2021-05-28 17:06:08
 */
@Repository
public interface WelfareOrderExpressMapper extends BaseMapper<WelfareOrderExpress> {

    /**
     * 通过订单id查询物流信息
     * @date 2021/5/28 17:32
     * @author caobucao
     * @param orderId   订单id
     * @return java.util.List<com.dzl.order.pojo.WelfareOrderExpress>
     */
    List<WelfareOrderExpressVo> selectOrderExpressByOrderId(Integer orderId);

    /**
     * 删除订单物流信息
     * @date 2021/5/31 18:58
     * @author caobucao
     * @param orderId    订单id
     * @return java.lang.Integer
     */
    Integer deleteByOrderId(Integer orderId);
}
